import {createRouter,createWebHashHistory} from 'vue-router'

//
const router = createRouter({
    history:createWebHashHistory(),
    routes:[
      {
        path:'/',
        redirect:'/addManage'
      },
      {
        //添加 理财信息
        path:'/addManage',
        component:()=>import('../views/AddManageView.vue')
      },
      {
        //展示 理财信息
        path:'/showManage',
        component:()=>import('../views/ShowManageView.vue')
      }
    ]
})

//导出路由
export default router